<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			.div0,p{
				border: 3px solid #FF69B4; /*边框间距*/
			}
			.div1,.div2,.div3{
				width: 80px;
				height: 80px;
				margin-top: 3px;
				margin: 3px;
			}
			
			.div1{
				background-color: red;
				float: left;
			}
			.div2{
				background-color: -webkit-link;
				float: left;
			}
			.div3{
				background-color: blueviolet;
				float: left;
			}
			p{
				clear: both;
			}
			.div4{
				clear: both;
			}
			
		</style>
	</head>
	<body>
		<div class="div0">
			<div class="div1"></div>
			<div class="div2"></div>
			<div class="div3"></div>
			<div class="div4"></div>
		</div>
		<p>看我</p>
		
	</body>
</html>
